package com.quanyan.ic.datacenter.dao;

import com.quanyan.ic.datacenter.http.req.ReqHandleAlarm;
import com.quanyan.ic.datacenter.mapper.icData.entity.PlaceUnitVideoAlarmHandle;

/**
 * Created by jian.zhou on 2017/8/25.
 *  视屏处理异常
 */
public interface PlaceUnitVideoAlarmHandleDao {

    PlaceUnitVideoAlarmHandle findByUuid(Integer uuid);

    void insertPlaceUnitVideoAlarmHandle(PlaceUnitVideoAlarmHandle handle);

    void updatePlaceUnitVideoAlarmHandle(PlaceUnitVideoAlarmHandle handle);

    /**
     * 视屏异常处理
     * @param reqHandleAlarm
     */
     void  handel(ReqHandleAlarm reqHandleAlarm);


    /**
     * 查看场馆是否有未处理的异常
     * @param placeId
     * @return
     */
     int isHaveAlarm(Integer placeId);
}
